<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html lang="zh-CN">
<style>
.excerptqzk{clear:both;border:1px solid #EAEAEA;padding:10px 10px 10px 10px;overflow:hidden;background-color:#fff;margin-bottom:-1px;}
</style>
<head >
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Home</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/nprogress.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="apple-touch-icon-precomposed" href="images/icon.png">
<link rel="shortcut icon" href="images/favicon.ico">
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/nprogress.js"></script>
<script src="js/jquery.lazyload.min.js"></script>
<script type="text/javascript" charset="utf-8" src="utf8-jsp/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="utf8-jsp/ueditor.all.min.js"> </script>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="utf8-jsp/lang/zh-cn/zh-cn.js"></script>
<!--[if gte IE 9]>
  <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
  <script src="js/html5shiv.min.js" type="text/javascript"></script>
  <script src="js/respond.min.js" type="text/javascript"></script>
  <script src="js/selectivizr-min.js" type="text/javascript"></script>
<![endif]-->
<!--[if lt IE 9]>
  <script>window.location.href='upgrade-browser.html';</script>
<![endif]-->
    <style type="text/css">
        .container{
            width:100%;
			height:100%;
			overflow:hidden;
        }
		select{
			margin-top:20px;
			margin-bottom:20px;
		}
		.box{
            position: absolute;
            top: 50%;
            left: 50%;
			height:250px;
			width:600px;
			margin-left:-300px;
			margin-top:-300px;
			background-color:white;
		}

    </style>
</head>
<body class="user-select">
<div class="container">
	<div class="content-wrap">
		<div class="box">
			<h2 style="text-align:center;margin-top:20px">${article_title}</h2>
			<c:if test="${type eq 1}">
				<h1 style="text-align:center;margin-top:40px">帖子发布成功</h1>
			</c:if>
			<c:if test="${type eq 2}">
				<h1 style="text-align:center;margin-top:40px">帖子修改成功</h1>
			</c:if>
			<div class="row" style="margin:40px 120px;width:480px">	
				<a type="button" class="btn btn-info col-xs-3 col-md-3" style="margin-right:10px;" href="BeforeAddArticle">写新帖子</a>
				<a href="My_Home" type="button" class="btn btn-info col-xs-3 col-md-3" style="margin-right:10px">个人中心</a>
				<a href="ShowTieServlet?article_id=${article_id}" type="button" class="btn btn-info col-xs-3 col-md-3">查看帖子</a>
			</div>
		</div>
	</div>
</div>


<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.ias.js"></script>
<script src="js/scripts.js"></script>
<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');
</script>
</body>
</html>